<?php

class Social_Table_Model_Service extends Database_Table_Row
{
	public function getId()
	{
		return $this -> service_id;
	}

	/**
	 * @return string
	 */
	public function getLoginUrl()
	{
		return Nuo::getUrl('social/' . $this -> getId() . '/auth');
	}

	public function getLogoutUrl()
	{
		return Nuo::getUrl('social/' . $this -> getId() . '/logout');
	}

	public function getPhotoUrl($type = '32')
	{
		return Nuo::getStaticUrl('legacy/images/social/' . $this -> getId() . '32.png');
	}

}
